package com.pzy.base.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Component
@Getter
@Setter
@NoArgsConstructor
public class AppProperty {
    @Value("${server.port}")
    private Integer serverPort;

    @Value("${management.server.port}")
    private Integer managementServerPort;

    @Value("${springdoc.swagger-ui.path}")
    private String swaggerUiPath;
}
